let str = require('./a');
console.log(str);

require('./index.css');

require('./b.less');

let fn = () => {
  console.log('123');
};
fn();

class A {
  a = 1;
}

function* gen(params) {
  yield 1;
}
console.log(gen().next());

require('@babel/polyfill');
'aaa'.includes('a');

import logo from './logo.jpg'; //返回的结果是图片地址
let image = new Image();
image.src = logo;
document.body.appendChild(image);
